package com.livepan.server.service.model;

import java.util.List;

public class ContestRankModel {
    //用户id
    private String userId;

    private String name;

    //排名
    private int rank;

    //正确
    private int accept;

    //总分
    private int score;

    //具体情况
    public List<Info> progress;

    public static class Info {
        //题目的得分
        public int score;
        //题目的情况
        public short status = 0;  //对应notry
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public Integer getScore() {
        return score;
    }

    public void setScore(Integer score) {
        this.score = score;
    }

    public void setUserId(String userId) {
        this.userId = userId;
    }

    public int getAccept() {
        return accept;
    }

    public void setAccept(int accept) {
        this.accept = accept;
    }

    public int getRank() {
        return rank;
    }

    public List<Info> getProgress() {
        return progress;
    }

    public String getUserId() {
        return userId;
    }

    public void setProgress(List<Info> progress) {
        this.progress = progress;
    }

    public void setRank(int rank) {
        this.rank = rank;
    }
}
